﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace comm.objst
{
    [Serializable]
    public class MoveTo
    {
        private string _objectId = null;
        public string ObjectId
        {
            get
            {
                if (_objectId == null)
                {
                    _objectId = "";
                }
                return _objectId;
            }
            set { _objectId = value; }
        }

        public long TimeOffset { get; set; }
        public int FromX { get; set; }
        public int FromY { get; set; }
        public int ToX { get; set; }
        public int ToY { get; set; }
    }

    [Serializable]
    public class MoveToResult
    {
        private string _objectId = null;
        public string ObjectId
        {
            get
            {
                if (_objectId == null)
                {
                    _objectId = "";
                }
                return _objectId;
            }
            set { _objectId = value; }
        }

        public bool CheckLoc { get; set; }
        public bool CanEnter { get; set; }
        public int LocX { get; set; }
        public int LocY { get; set; }
    }
}
